<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019-02-22
 * Time: 16:06
 */

namespace app\index\validate;


use think\Validate;

class Withdrawal extends Validate
{
    protected $rule = [
        'u_id'             => 'require',
        'type'             => 'require',
        'money'             => 'require',
        'remark'             => 'require',
        'password'             => 'require',

    ];

    protected $message = [
        'u_id.require'             => '用户ID 不能为空',
        'type.require'             => '请选择提现类型',
        'money.require'             => '请输入提现金额',
        'remark.require'             => '请输入提现备注',
        'password.require'             => '请输入提现密码',
    ];
}